<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:85:"/app/wwwroot/zhangwei/www/gongzi/public/../application/index/view/index/feedback.html";i:1671875145;s:75:"/app/wwwroot/zhangwei/www/gongzi/application/index/view/layout/default.html";i:1671875144;s:75:"/app/wwwroot/zhangwei/www/gongzi/application/index/view/common/sidenav.html";i:1671875144;s:74:"/app/wwwroot/zhangwei/www/gongzi/application/index/view/common/script.html";i:1671875145;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title><?php echo (isset($title) && ($title !== '')?$title:'工资条'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link href="/assets/css/frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>" rel="stylesheet">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="/assets/js/html5shiv.js"></script>
    <script src="/assets/js/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            config: <?php echo json_encode($config); ?>
        };
    </script>
</head>
<body>
<?php if(!$is_mobile && !empty($back_btn)): ?>
<header class="mui-bar mui-bar-nav">
    <?php if($back_btn == 'back'): ?>
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="javascript:window.history.back();"></a>
    <?php elseif($back_btn == 'hide'): else: ?>
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="<?php echo $back_btn; ?>"></a>
    <a href="<?php echo $back_btn; ?>">&nbsp;</a>
    <?php endif; ?>
    <h1 class="mui-title"><?php echo (isset($title) && ($title !== '')?$title:''); ?></h1>
</header>
<?php endif; ?>
<div class="mui-content">
        <div class="mui-card yw_item">
            <form id="post-form" role="form" data-toggle="validator" method="POST" action="<?php echo url('index/feedback'); ?>">
                <div class="mui-card-header">您的反馈问题</div>
                <div class="mui-card-content">
                    <div><textarea class="textarea" name="content" data-rule="required" data-msg-required="请输入您的反馈问题" placeholder="请输入您的反馈问题…"></textarea></div>
                </div>
                <input type="hidden" name="month" value="<?php echo $month; ?>">
                <div class="mui-card-footer"><button type="submit" class="send_but">提交反馈</button></div>
            </form>
        </div>
    <div class="mui-card item_box yw_item_box">
        <div class="mui-card-header">反馈记录</div>
        <div class="mui-card-content">
            <?php if($content_logs): foreach($content_logs as $log): ?>
            <div class="item">
                <div class="yw_q">
                    <span class="icon">Q</span>
                    <div class="text"><?php echo $log['question']; ?></div>
                    <p class="time"><?php echo human_date(strtotime($log['question_time'])); ?></p>
                </div>
                <?php if($log['answer']): ?>
                <div class="yw_a">
                    <span class="icon">A</span>
                    <div class="text"><?php echo $log['answer']; ?></div>
                    <p class="time"><?php echo human_date(strtotime($log['answer_time'])); ?></p>
                </div>
                <?php endif; ?>
            </div>
            <?php endforeach; endif; ?>
        </div>
    </div>
</div>
<link rel="stylesheet" type="text/css" href="/assets/index/css/mui.min.css">
<link rel="stylesheet" type="text/css" href="/assets/index/css/css.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>">
<link rel="stylesheet" type="text/css" href="/assets/index/css/mui.picker.min.css" />
<script src="/assets/index/js/mui.min.js"></script>
<script src="/assets/index/js/mui.picker.min.js"></script>
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
<style>
    body,html {
        position: absolute;
        width: 100%;
        left: 0;
        top:0;
        bottom: 0;
        right: 0;
        height: 100vh;
    }
</style>
</body>
</html>